home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_1.3 / Include-Strip1.3 / include.h / devices / narrator.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-07-15  |  1.1 KB  |  62 lines

  1. #ifndef    DEVICES_NARRATOR_H
  2. #define    DEVICES_NARRATOR_H
  3. #ifndef    EXEC_IO_H
  4. #include    "exec/io.h"
  5. #endif
  6. #define    ND_NoMem    -2
  7. #define    ND_NoAudLib    -3
  8. #define    ND_MakeBad    -4
  9. #define    ND_UnitErr    -5
  10. #define    ND_CantAlloc    -6
  11. #define    ND_Unimpl    -7
  12. #define    ND_NoWrite    -8
  13. #define    ND_Expunged    -9
  14. #define    ND_PhonErr    -20
  15. #define    ND_RateErr    -21
  16. #define    ND_PitchErr    -22
  17. #define    ND_SexErr    -23
  18. #define    ND_ModeErr    -24
  19. #define    ND_FreqErr    -25
  20. #define    ND_VolErr    -26
  21. #define    DEFPITCH    110
  22. #define    DEFRATE    150
  23. #define    DEFVOL    64
  24. #define    DEFFREQ    22200
  25. #define    MALE    0
  26. #define    FEMALE    1
  27. #define    NATURALF0    0
  28. #define    ROBOTICF0    1
  29. #define    DEFSEX    MALE
  30. #define    DEFMODE    NATURALF0
  31. #define    MINRATE    40
  32. #define    MAXRATE    400
  33. #define    MINPITCH    65
  34. #define    MAXPITCH    320
  35. #define    MINFREQ    5000
  36. #define    MAXFREQ    28000
  37. #define    MINVOL    0
  38. #define    MAXVOL    64
  39. struct    narrator_rb    {
  40. struct    IOStdReq    message;
  41. UWORD    rate;
  42. UWORD    pitch;
  43. UWORD    mode;
  44. UWORD    sex;
  45. UBYTE    *ch_masks;
  46. UWORD    nm_masks;
  47. UWORD    volume;
  48. UWORD    sampfreq;
  49. UBYTE    mouths;
  50. UBYTE    chanmask;
  51. UBYTE    numchan;
  52. UBYTE    pad;
  53. };
  54. struct    mouth_rb    {
  55. struct    narrator_rb    voice;
  56. UBYTE    width;
  57. UBYTE    height;
  58. UBYTE    shape;
  59. UBYTE    pad;
  60. };
  61. #endif
  62.